package com.chen.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author chen
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sign")
@ApiModel(value = "签到")
public class Sign {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;   //主键自增

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "签到时间")
    private Date time;



}
